/*
 * @Description: 
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2022-08-16 16:02:11
 * @LastEditTime: 2022-08-19 16:10:20
 * @FilePath: \cscec-pms-admin\src\api\quality\quality\index.js
 */
/**
 * 质量API
 */
import Quality from '@/api/quality'
import { qualityApiUrl, unionApiUrl } from '@/api/config.js'
const SUB_SYSTEM = qualityApiUrl + '/quality'
const SUB_SYSTEM_UNION = unionApiUrl
// const SUB_SYSTEM = '/mock/27/quality' // mock
const checkRecord = new Quality(SUB_SYSTEM, '/check-record') // 质量检查记录
const problemType = new Quality(SUB_SYSTEM, '/problem-type', true) // 质量问题分类维护
const problemGetTree = new Quality(SUB_SYSTEM_UNION, '/problem/getTree/v2', true) // 质量问题描述

const checkType = new Quality(SUB_SYSTEM, '/check-type', true) // 质量检查类型维护
const problemRectification = new Quality(SUB_SYSTEM, '/problem-rectification', true) // 质量问题整改管理
const sixMeasures = new Quality(SUB_SYSTEM, '/six-measures') // 六项措施计划管理
const sixMeasuresScore = new Quality(SUB_SYSTEM, '/six-measures-score') // 新六项措施评分
const sixExcel = new Quality(SUB_SYSTEM, '/six-excel/excel') // 新六项措施导出
const experimentPlan = new Quality(SUB_SYSTEM, '/experiment-plan') // 试验计划管理
const experimentTable = new Quality(SUB_SYSTEM, '/experiment-table', true) // 试验台账
const rewardAndPenalty = new Quality(SUB_SYSTEM, '/reward-and-penalty', true) // 质量奖惩管理
const highlight = new Quality(SUB_SYSTEM, '/highlight', true) // 质量亮点
const acceptancePlan = new Quality(SUB_SYSTEM, '/acceptance-plan', true) // 质量验收计划
const acceptanceRecord = new Quality(SUB_SYSTEM, '/acceptance-recording/new', true) // 质量验收记录
const acceptanceDailyRecord = new Quality(SUB_SYSTEM, '/acceptance-daily-record') // 日常质量验收记录
const plotProgram = new Quality(SUB_SYSTEM, '/quality-plot-program', true) // 质量策划方案
const excellence = new Quality(SUB_SYSTEM, '/quality-plot-create-excellence') // 质量创优策划
const excellenceTable = new Quality(SUB_SYSTEM, '/create-ex-prize/record') // 质量创优奖项台账服务
const excellenceApplication = new Quality(SUB_SYSTEM, '/create-ex-prize/review') // 质量创优申报资料库
const excellenceBudget = new Quality(SUB_SYSTEM, '/create-ex-prize/budget') // 质量创优预算
const duty = new Quality(SUB_SYSTEM, '/duty') // 质量责任书
const postDutyBook = new Quality(SUB_SYSTEM, '/postDutyBook') // 质量责任制
const specialGovernancePlan = new Quality(SUB_SYSTEM, '/special-governance-plan', true) // 专项治理方案
const scoring = new Quality(SUB_SYSTEM, '/special-governance-scoring', true) // 专项治理评分
const scoringType = new Quality(SUB_SYSTEM, '/special-governance-scoring-type', true) // 专项治理评分分类
const typesLabel = new Quality(SUB_SYSTEM, '/types-label') // 质量-下拉框查询
const label = new Quality(SUB_SYSTEM, '/label', true) // 质量-标签
const star = new Quality(SUB_SYSTEM, '/star') // 质量-工匠之星
const men = new Quality(SUB_SYSTEM, '/men') // 分包管理人员 
const pMen = new Quality(SUB_SYSTEM, '/project/men') // 分包管理人员
const team = new Quality(SUB_SYSTEM, '/team') // 分包班组
const print = new Quality(SUB_SYSTEM, '/print') // 打印
const planBusinessBase = new Quality(SUB_SYSTEM, '/planBusinessBase', true) // 实测实量、编制品质工程、六项专项治理
const riskDistinguishAndMonitor = new Quality(SUB_SYSTEM, '/riskDistinguishAndMonitor', true) // 质量风险识别与监控
const queryEmployee = new Quality(SUB_SYSTEM_UNION, '/qualityEmployee/queryEmployee') // 获取项目人员信息
const qcActivityTopicRegister = new Quality(SUB_SYSTEM, '/qcActivityTopicRegister') // QC活动注册
const qcActivityAchievement = new Quality(SUB_SYSTEM, '/qcActivityAchievement') // QC活动成果报告
const qcActivityAchievementReview = new Quality(SUB_SYSTEM, '/qcActivityAchievementReview') // QC活动评审
const monthExperiment = new Quality(SUB_SYSTEM, '/month/experiment') // 编制材料复试月报
const rectificationNotice = new Quality(SUB_SYSTEM, '/problem/notice') // 质量整改通知单
const rectificationNoticeTwo = new Quality(SUB_SYSTEM, '/problem/notice/list') // 质量整改通知单
const rectificationNoticeThree = new Quality(SUB_SYSTEM, '/problem/notice/count') // 质量整改通知单

export {
  checkRecord,
  problemType,
  problemGetTree,
  checkType,
  problemRectification,
  sixMeasures,
  sixMeasuresScore,
  sixExcel,
  experimentPlan,
  experimentTable,
  rewardAndPenalty,
  highlight,
  acceptancePlan,
  acceptanceRecord,
  acceptanceDailyRecord,
  plotProgram,
  excellence,
  excellenceTable,
  excellenceApplication,
  excellenceBudget,
  duty,
  postDutyBook,
  specialGovernancePlan,
  scoring,
  scoringType,
  typesLabel,
  label,
  star,
  men,
  pMen,
  team,
  print,
  planBusinessBase,
  riskDistinguishAndMonitor,
  queryEmployee,
  qcActivityTopicRegister,
  qcActivityAchievement,
  qcActivityAchievementReview,
  monthExperiment,
  rectificationNotice,
  rectificationNoticeTwo,
  rectificationNoticeThree
}